package de.lns.render;

import java.nio.FloatBuffer;

public abstract class Layer {
	FloatBuffer vertices;
	FloatBuffer texCoords;
	
	protected Layer(Model target, FloatBuffer verts, FloatBuffer maps){
		target.addLayer(this);
		vertices = verts;
		texCoords = maps;
	}
	
	protected abstract void writeVertices(int i);
	protected abstract void writeMapping(int i);
}
